package com.ciaojian.miniapp.api;

import com.ciaojian.miniapp.enums.MiniAppApiType;
import com.ciaojian.miniapp.model.request.profitsharing.ProfitSharing;
import com.ciaojian.miniapp.util.RequestUtil;
import com.fasterxml.jackson.core.JsonProcessingException;

/**
 * 分账Api
 *
 * @author Atlakyn
 */
@Deprecated
public class ProfitSharingApi {

    public static <T> T profitSharing(ProfitSharing params, Class<T> clazz) throws JsonProcessingException {
        return RequestUtil.execution(MiniAppApiType.PROFIT_SHARING,
                params,
                false,
                clazz);
    }

}
